package chouxiang.rpc;

/**
 * Created by tiang on 2018/7/20.
 */
public class ClientMain {
    public static void main(String[] args) {
        Consumer consumer = new Consumer("127.0.0.1", 1022);
        Doing eat = (Doing) consumer.getProxy(Doing.class);
        System.out.println(eat.doSomething());
    }
}
